package cn.zysheep.factory.simple_factory;

/**
 * @ClassName: Cofee
 * @Description: 咖啡类
 * @Author: lyw
 * @Date: 2022/10/17 22:42
 */
public abstract class Coffee {
    public abstract String getName();

    // 加糖
    public void addsugar() {
        System.out.println("加糖");
    }

    // 加奶
    public void addMilk() {
        System.out.println("加奶");
    }
}
